package cn.yxr.mapper;


import cn.yxr.pojo.AdPromotion;

import java.util.List;

public interface ad1mapper {
    //添加
    int addpromotion(AdPromotion adPromotion);
    //删除
    int delepromotion(int id);
    //修改
    int updatepromotion(AdPromotion adPromotion);
    //根据id查询
    AdPromotion querypromotion(int id);
    //查询全部
    List<AdPromotion> querypromotions();
}
